package com.cn.ftp.bean;

import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;

/**
 * FUN: FTP文件信息
 *
 * @author sushy
 * @date 2016-3-23 
 */
public class FtpFileBean {

	private String filePath;// 文件所有路径
	private String fileName;// 文件名
	private String[] fileArgs;// 文件名拆分参数
	private String charSet;// 文件字符集
	private int procMode;// 处理模式
	private File outFile = null;// 响应文件
	private int errNum = 0;// 错误次数
	private FileOutputStream outStream = null;
	private OutputStreamWriter outWriter = null;
	private Object extParam;// 扩展参数对象

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String[] getFileArgs() {
		return fileArgs;
	}

	public void setFileArgs(String[] fileArgs) {
		this.fileArgs = fileArgs;
	}

	public String getCharSet() {
		return charSet;
	}

	public void setCharSet(String charSet) {
		this.charSet = charSet;
	}

	public int getProcMode() {
		return procMode;
	}

	public void setProcMode(int procMode) {
		this.procMode = procMode;
	}

	public File getOutFile() {
		return outFile;
	}

	public void setOutFile(File outFile) {
		this.outFile = outFile;
	}

	public FileOutputStream getOutStream() {
		return outStream;
	}

	public void setOutStream(FileOutputStream outStream) {
		this.outStream = outStream;
	}

	public OutputStreamWriter getOutWriter() {
		return outWriter;
	}

	public void setOutWriter(OutputStreamWriter outWriter) {
		this.outWriter = outWriter;
	}

	public int getErrNum() {
		return errNum;
	}

	public void setErrNum(int errNum) {
		this.errNum = errNum;
	}

	public void incErrNum() {
		++errNum;
	}

	public Object getExtParam() {
		return extParam;
	}

	public void setExtParam(Object extParam) {
		this.extParam = extParam;
	}


}
